<template>
    <van-tabbar fixed v-model="active">
        <van-tabbar-item icon="home-o" to="/home" >首页</van-tabbar-item>
        <van-tabbar-item icon="search" to="/fenlei">分类</van-tabbar-item>
        <van-tabbar-item icon="shopping-cart-o" to="shoppingcart">购物车</van-tabbar-item>
        <van-tabbar-item icon="manager-o" to="/myto">个人中心</van-tabbar-item>
    </van-tabbar>

</template>

<script>
    export default {
        name: "TabBar",
       data(){
           return{
               active:0
           }
       }
    }
</script>

<style scoped>

</style>